package com.atom.app.mvi.net.bean

import com.atom.app.mvi.net.BaseResponse
import com.fasterxml.jackson.annotation.JsonProperty


class LoginResponse : BaseResponse<LoginResponse.Data>() {

    class Data {
        var userInfo: UserInfo? = null
        var mag = 0
        var im: String? = null
        var projectId = 0
        var token: String? = null
    }

    class UserInfo {
        @JsonProperty("accountFlag")
        var accountFlag: Any? = null

        @JsonProperty("accountType")
        var accountType: Any? = null

        @JsonProperty("company")
        var company: String? = null

        @JsonProperty("createBy")
        var createBy: Any? = null

        @JsonProperty("createTime")
        var createTime: Any? = null

        @JsonProperty("crmId")
        var crmId: String? = null

        @JsonProperty("delFlag")
        var delFlag: Any? = null

        @JsonProperty("dept")
        var dept: Any? = null

        @JsonProperty("deptId")
        var deptId: Any? = null

        @JsonProperty("deptIdSet")
        var deptIdSet: Any? = null

        @JsonProperty("deptMap")
        var deptMap: Any? = null

        @JsonProperty("deptName")
        var deptName: Any? = null

        @JsonProperty("email")
        var email: String? = null

        @JsonProperty("emails")
        var emails: Any? = null

        @JsonProperty("endTime")
        var endTime: Any? = null

        @JsonProperty("handoverFlag")
        var handoverFlag: Any? = null

        @JsonProperty("id")
        var id: Any? = null

        @JsonProperty("idSet")
        var idSet: Any? = null

        @JsonProperty("identityCard")
        var identityCard: Any? = null

        @JsonProperty("invitedType")
        var invitedType: Int? = null

        @JsonProperty("isCustomerService")
        var isCustomerService: Int? = null

        @JsonProperty("isCustomerServiceType")
        var isCustomerServiceType: Any? = null

        @JsonProperty("isOnline")
        var isOnline: Any? = null

        @JsonProperty("isOwner")
        var isOwner: Any? = null

        @JsonProperty("isRelation")
        var isRelation: Int = 0

        @JsonProperty("isSuper")
        var isSuper: Any? = null

        @JsonProperty("job")
        var job: Any? = null

        @JsonProperty("jobs")
        var jobs: Any? = null

        @JsonProperty("label")
        var label: Any? = null

        @JsonProperty("linkFlag")
        var linkFlag: Any? = null

        @JsonProperty("linkSource")
        var linkSource: Any? = null

        @JsonProperty("loginTime")
        var loginTime: Any? = null

        @JsonProperty("mobile")
        var mobile: String? = null

        @JsonProperty("mobiles")
        var mobiles: Any? = null

        @JsonProperty("name")
        var name: String? = null

        @JsonProperty("names")
        var names: Any? = null

        @JsonProperty("newPassword")
        var newPassword: Any? = null

        @JsonProperty("officeSpace")
        var officeSpace: Any? = null

        @JsonProperty("orderFlag")
        var orderFlag: Any? = null

        @JsonProperty("orgIds")
        var orgIds: Any? = null

        @JsonProperty("outTime")
        var outTime: Any? = null

        @JsonProperty("password")
        var password: Any? = null

        @JsonProperty("publicKey")
        var publicKey: Any? = null

        @JsonProperty("pwdErrorNum")
        var pwdErrorNum: Any? = null

        @JsonProperty("remarks")
        var remarks: Any? = null

        @JsonProperty("roleId")
        var roleId: Any? = null

        @JsonProperty("roleIds")
        var roleIds: Any? = null

        @JsonProperty("roleMap")
        var roleMap: Any? = null

        @JsonProperty("roleName")
        var roleName: Any? = null

        @JsonProperty("sex")
        var sex: Int? = null

        @JsonProperty("sexs")
        var sexs: Any? = null

        @JsonProperty("sourceFlag")
        var sourceFlag: Any? = null

        @JsonProperty("sourceId")
        var sourceId: Any? = null

        @JsonProperty("startTime")
        var startTime: Any? = null

        @JsonProperty("telephone")
        var telephone: Any? = null

        @JsonProperty("type")
        var type: Any? = null

        @JsonProperty("uniqueId")
        var uniqueId: Any? = null

        @JsonProperty("updateBy")
        var updateBy: Any? = null

        @JsonProperty("updateTime")
        var updateTime: Any? = null

        @JsonProperty("userHeadImgColor")
        var userHeadImgColor: Any? = null

        @JsonProperty("userHeadImgText")
        var userHeadImgText: Any? = null

        @JsonProperty("userId")
        var userId: Any? = null

        @JsonProperty("userIdentity")
        var userIdentity: Any? = null

        @JsonProperty("userImg")
        var userImg: String? = null

        @JsonProperty("userNameId")
        var userNameId: String? = null

        @JsonProperty("userSource")
        var userSource: Any? = null

        @JsonProperty("username")
        var username: Any? = null
    }
}